<form action="{:request()->url()}" autocomplete="off" class="layui-form layui-card" data-auto="true" method="post">
    <div class="layui-card-body padding-left-40">
        <script>
            layui.form.render();
        </script>
        <div class="layui-row layui-col-space15">
            <div class="layui-col-xs6">
                <label class="relative block">
                    <span class="help-label"><b>项目名称</b>project</span>
                    <input type="text" name="project" value='{$vo.project|default=""}' placeholder="请输入项目名称" class="layui-input">
                    <span class="color-desc">可选，请填写项目名称</span>
                </label>
            </div>
            <div class="layui-col-xs6">
                <label class="relative block">
                    <span class="help-label"><b>组团区域</b>region</span>
                    <input type="text" name="region" value='{$vo.region|default=""}' placeholder="请输入组团区域" class="layui-input">
                    <span class="color-desc">可选，请填写组团区域</span>
                </label>
            </div>
        </div>
        <div class="layui-row layui-col-space15">
            <div class="layui-col-xs3">
                <label class="relative block">
                    <span class="help-label"><b>楼栋号</b>build</span>
                    <input type="text" name="build" value='{$vo.build|default=""}' placeholder="请输入楼栋号" class="layui-input">
                    <span class="color-desc">可选，请填写楼栋号</span>
                </label>
            </div>
            <div class="layui-col-xs3">
                <label class="relative block">
                    <span class="help-label"><b>单元号</b>unit</span>
                    <input type="text" name="unit" value='{$vo.unit|default=""}' placeholder="请输入单元号" class="layui-input">
                    <span class="color-desc">可选，请填写单元号</span>
                </label>
            </div>
            <div class="layui-col-xs3">
                <label class="relative block">
                    <span class="help-label"><b>楼层</b>floor</span>
                    <input type="text" name="floor" value='{$vo.floor|default=""}' placeholder="请输入楼层" class="layui-input">
                    <span class="color-desc">可选，请填写楼层</span>
                </label>
            </div>
            <div class="layui-col-xs3">
                <label class="relative block">
                    <span class="help-label"><b>房号</b>house</span>
                    <input type="text" name="house" value='{$vo.house|default=""}' placeholder="请输入房号" class="layui-input">
                    <span class="color-desc">可选，请填写房号</span>
                </label>
            </div>
        </div>
        <div class="layui-row layui-col-space15">
            <div class="layui-col-xs4">
                <label class="relative block">
                    <span class="help-label"><b>业主姓名</b>name</span>
                    <input type="text" name="name" value='{$vo.name|default=""}' placeholder="请输入业主姓名" class="layui-input">
                    <span class="color-desc">可选，请填写业主姓名</span>
                </label>
            </div>
            <div class="layui-col-xs4">
                <label class="relative block">
                    <span class="help-label"><b>业主手机号</b>tel</span>
                    <input type="text" name="tel" value='{$vo.tel|default=""}' placeholder="请输入业主手机号" class="layui-input">
                    <span class="color-desc">可选，请填写业主手机号</span>
                </label>
            </div>
            <div class="layui-col-xs4">
                <label class="relative block">
                    <span class="help-label"><b>业主身份证号</b>IdCard</span>
                    <input type="text" name="id_card" value='{$vo.id_card|default=""}' placeholder="请输入业主身份证号" class="layui-input">
                    <span class="color-desc">可选，请填写业主身份证号</span>
                </label>
            </div>
        </div>
        <div class="layui-row layui-col-space15">
            <div class="layui-col-xs3">
                <label class="relative block">
                    <span class="help-label"><b>建筑面积</b>buildArea</span>
                    <input type="text" name="area_build" value='{$vo.area_build|default=""}' placeholder="请输入建筑面积" class="layui-input">
                    <span class="color-desc">可选，请填写建筑面积</span>
                </label>
            </div>
            <div class="layui-col-xs3">
                <label class="relative block">
                    <span class="help-label"><b>房屋面积</b>houseArea</span>
                    <input type="text" name="area_house" value='{$vo.area_house|default=""}' placeholder="请输入房屋面积" class="layui-input">
                    <span class="color-desc">可选，请填写房屋面积</span>
                </label>
            </div>
            <div class="layui-col-xs6">
                <label class="relative block">
                    <span class="help-label"><b>地址</b>Address</span>
                    <input type="text" name="address" value='{$vo.address|default=""}' placeholder="请输入业主地址" class="layui-input">
                    <span class="color-desc">可选，请填写业主地址</span>
                </label>
            </div>
        </div>
        <div class="layui-col-xs6">
            <label class="relative block">
                <span class="help-label"><b>备注</b>memo</span>
                <input type="text" name="memo" value='{$vo.memo|default=""}' placeholder="请输入备注" class="layui-input">
                <span class="color-desc">可选，请填写备注</span>
            </label>
        </div>


    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close data-confirm="确定要取消编辑吗？" type='button'>取消编辑</button>
    </div>
</form>